package cn.nfwx.tv.events;

import android.support.v4.app.DialogFragment;
import android.support.v4.app.Fragment;

/**
 * Created by zb.liu on 2017/11/29.
 */

public class PlayEvents {

    public static final int MINE = 1;
    public static final int SEARCH = 2;

    private int programId;
    private String path;
    private String vsid;
    private String name;
    private int position;
    private int fragment;

    private String keyword;
    private int mePosition;
    private String tag;

    public PlayEvents(int programId, String path, String vsid, String name, int position) {
        this.programId = programId;
        this.path = path;
        this.vsid = vsid;
        this.name = name;
        this.position = position;
        fragment = -1;
        keyword = null;
        mePosition = -1;
        tag = null;
    }

    public PlayEvents(String path, String vsid, String name, int position) {
        this.path = path;
        this.vsid = vsid;
        this.name = name;
        this.position = position;
        this.programId = 0;
        fragment = -1;
        keyword = null;
        mePosition = -1;
        tag = null;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getVsid() {
        return vsid;
    }

    public void setVsid(String vsid) {
        this.vsid = vsid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public int getProgramId() {
        return programId;
    }

    public void setProgramId(int programId) {
        this.programId = programId;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public int getMePosition() {
        return mePosition;
    }

    public void setMePosition(int mePosition) {
        this.mePosition = mePosition;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public int getFragment() {
        return fragment;
    }

    public void setFragment(int fragment) {
        this.fragment = fragment;
    }
}
